<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        //对象可以储存东西方便使用
        var obj = Object();
        obj.name = "梨花";
        obj.age = 18;
        obj.gender = "男";
        console.log(obj);
        /*读取属性
          语法：对象.属性名
        */

    </script>
</head>
<body>
    
</body>
</html>